package io.github.uicdb.gravity_generator.data;

import io.github.uicdb.gravity_generator.GGUtils;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.forge.event.lifecycle.GatherDataEvent;

@Mod.EventBusSubscriber(modid = GGUtils.MODID,bus = Mod.EventBusSubscriber.Bus.MOD)
public class GGDataGenerator {
    @SubscribeEvent
    public static void generator(GatherDataEvent dataEvent){
        var generator=dataEvent.getGenerator();
        generator.addProvider(new GGRecipeGenerator(generator));
        generator.addProvider(new GGLootGenerator(generator));
        generator.addProvider(new GGBlockTagGenerator(generator,dataEvent.getExistingFileHelper()));
    }
}
